package com.game.majiang.algorithm.zhajinhua;
import lombok.Getter;
import lombok.Setter;

@Getter
public enum zhajinhuatype {
	ersanwu(0, "235", 50),
	dan(1, "杂牌", 0),
	dui2(2, "对子", 0),
	dui3(3, "对子", 0),
	dui4(4, "对子", 0),
	dui5(5, "对子", 0),
	dui6(6, "对子", 0),
	dui7(7, "对子", 0),
	dui8(8, "对子", 0),
	dui9(9, "对子", 0),
	dui10(10, "对子", 0),
	dui11(11, "对子", 0),
	dui12(12, "对子", 0),
	dui13(13, "对子", 0),
	duiA(14, "对子", 0),
	shunzi(15, "顺子", 0),
	jinhua(16, "金花", 0),
	shunjin(17, "顺金", 20),
	zhadan(18, "炸弹", 50);
	

	@Setter
	private int _value;
	@Setter
	private String _name;
	@Setter
	private int _odd; 
	
	private zhajinhuatype(int value, String name, int odd)
    {
         _value = value;
         _name = name;     
         _odd = odd;
    }
	
	@Override
	public String toString() {
		return _name;
	}
}